#include "Canvas.h"

Canvas::Canvas(QWidget *parent)
	: QOpenGLWidget(parent)
{
}

Canvas::~Canvas()
{
}

void Canvas::mouseDoubleClickEvent(QMouseEvent *event)
{
	if (isFullScreen())
		showNormal();
	else
		showFullScreen();
}
